<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>新增合同费用条款</title>
    <link rel="shortcut icon" href="__STATIC__/layout/favicon.ico">
    <link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__STATIC__/layout/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
    <link href="__STATIC__/layout/css/channel.css?v=4.1.0" rel="stylesheet">
    <!-- Sweet Alert -->
    <link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <style>
    </style>
</head>

<body class="white-bg" style="padding: 3px;font-size: 13px">
     <div class="page-heade">
       <h2 class="title_color text-center">合同预提明细列表</h2>
    </div>
    <form action="" class="form-inline" id="form1">
        <table class="table table-bordered bud_hei">
            <tr>
                <td style="width: 140px" class="text-right">专项编号：</td>
                <td>
                    <input type="text" name="" class="form-control">
                </td>
                <td style="width: 140px" class="text-right">合同编号：</td>
                <td>
                    <input type="text" name="" class="form-control">
                </td>
                <td style="width: 140px" class="text-right">我方名称：</td>
                <td>
                    <input type="text" name="" class="form-control">
                </td>
            </tr>
            <tr>
                <td style="width: 140px" class="text-right">月份：</td>
                <td>
                    <div class="form-group">
                        <input type="text" id="start" class="form-control layer-date " style="min-width:160px;width:160px;display: inline-block;" name="">
                    </div>
                    <div class="form-group">
                        至
                    </div>
                    <div class="form-group">
                        <input type="text" class="form-control layer-date" style="min-width:160px;width:160px;display: inline-block;" id="end" name="">
                    </div>
                </td>
                <td style="width: 140px" class="text-right">费用类型：</td>
                <td>
                    <select name="" class="form-control">
                        <option value=""></option>
                    </select>
                </td>
                <td style="width: 140px" class="text-right">预提类型：</td>
                <td>
                    <select name="" class="form-control">
                        <option value=""></option>
                    </select>
                </td>
            </tr>
            <tr>
                <td class="text-center" colspan="6">
                    <button class="btn btn-info query">查询</button>
                    <button class="btn btn-info emptyIf" type="button">清空查询条件</button>
                </td>
            </tr>
        </table>
    </form>
    <table class="table table-bordered bud_hei text-center">
        <thead>
            <tr class="info">
                <th class="text-center">No</th>
                <th class="text-center">明细编号</th>
                <th class="text-center">专项编号</th>
                <th class="text-center">合同编号</th>
                <th class="text-center">我方名称</th>
                <th class="text-center">费用渠道</th>
                <th class="text-center">分区</th>
                <th class="text-center">省份</th>
                <th class="text-center">品牌</th>
                <th class="text-center">费用科目</th>
                <th class="text-center">计入月份</th>
                <th class="text-center">费用类型</th>
                <th class="text-center">预提类型</th>
                <th class="text-center">不含税金额</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>1</td>
                <td>201801070005_1</td>
                <td></td>
                <td></td>
                <td></td>
                <td>零售</td>
                <td>华北大区</td>
                <td>山西省</td>
                <td>舒爽</td>
                <td>堆头费</td>
                <td>2018-12</td>
                <td>BTL</td>
                <td>申请</td>
                <td class="text-right">450.32</td>
            </tr>
        </tbody>
    </table>
     <h5 class="text-center"  style="font-size: 13px;font-weight: 500">
                    总共有12条记录，第1/2页,当前页<input id="page" type="text"  style="width: 40px" value="1"/><span id="gopage">Go</span>&nbsp;&nbsp;<span id="fistpage">首页</span>&nbsp;&nbsp;
                    每页显示
                    <select id="pagesize">
                        <option value='10' selected>10条</option>
                        <option value='15'>15条</option>
                        <option value='20'>20条</option>

                    </select>
                </h5>
    <!-- 全局js -->
    <script src="__STATIC__/layout/js/jquery.min.js"></script>
    <script src="__STATIC__/layout/js/contabs_sub.js"></script>
    <script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- Sweet alert -->
    <script src="__STATIC__/layout/js/plugins/sweetalert/sweetalert.min.js"></script>
    <script src="__STATIC__/layout/js/contabs_sub.js"></script>
    <script src="__STATIC__/layout/js/plugins/layer/layer.min.js"></script>
    <script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
    <script>
    $(function() {
        $('body').on('click', 'input[type=text]', function() {
            this.select()
        })
    })

    /*日期范围限制*/
    var start = {
        elem: '#start',
        format: 'YYYY/MM/DD',
        min: laydate.now(), //设定最小日期为当前日期
        max: '2099-06-16 23:59:59', //最大日期
        istime: true,
        istoday: false,
        choose: function(datas) {
            end.min = datas; //开始日选好后，重置结束日的最小日期
            end.start = datas //将结束日的初始值设定为开始日
        }
    };
    var end = {
        elem: '#end',
        format: 'YYYY/MM/DD',
        min: laydate.now(),
        max: '2099-06-16 23:59:59',
        istime: true,
        istoday: false,
        choose: function(datas) {
            start.max = datas; //结束日选好后，重置开始日的最大日期
        }
    };
    laydate(start);
    laydate(end);
    </script>
</body>

</html>